package cn.hchaojie.camp.day07;

public class DemoSingleton {
	private int i = 0;
	
	private DemoSingleton() {
	}
	
	public static DemoSingleton getInstance() {
		DemoSingleton demo = new DemoSingleton();
		demo.i = 100;
		return demo;
	}
}
